package com.pocket.mic.model;

import java.util.ArrayList;
import java.util.List;

public class Player {

	public final static int IDENTITY_COMMON=0;
//	public final static int IDENTITY_BUTTON=1;
	public final static int IDENTITY_SMALLBLIND=2;
	public final static int IDENTITY_BIGBLIND=3;
	
	public final static Long SLEEP_TIME=1000l*600;
	private User user;
	
	private int action;
	
	private List<Card> cards=new ArrayList<Card>(2);
	
	private Long chip;
	
	private int identity;
	//place holded
	private boolean isHolded;
	
	private boolean isDiscarded;
	
	private boolean isAllin;
	
	//bet chips count
	private int bet;
	
	private Long lastRequestTime;
	
	private int sit;
	
	public boolean isAllin() {
		return isAllin;
	}
	public void setAllin(boolean isAllin) {
		this.isAllin = isAllin;
	}
	public int getSit() {
		return sit;
	}
	public void setSit(int sit) {
		this.sit = sit;
	}
	public Long getLastRequestTime() {
		return lastRequestTime;
	}
	public void setLastRequestTime(Long lastRequestTime) {
		this.lastRequestTime = lastRequestTime;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public int getAction() {
		return action;
	}
	public void setAction(int action) {
		this.action = action;
	}
	public List<Card> getCards() {
		return cards;
	}
	public void setCards(List<Card> cards) {
		this.cards = cards;
	}
	public Long getChip() {
		return chip;
	}
	public void setChip(Long chip) {
		this.chip = chip;
	}
	public int getIdentity() {
		return identity;
	}
	public void setIdentity(int identity) {
		this.identity = identity;
	}
	public boolean isHolded() {
		return isHolded;
	}
	public void setHolded(boolean isHolded) {
		this.isHolded = isHolded;
	}
	public boolean isDiscarded() {
		return isDiscarded;
	}
	public void setDiscarded(boolean isDiscarded) {
		this.isDiscarded = isDiscarded;
	}
	public int getBet() {
		return bet;
	}
	public void setBet(int bet) {
		this.bet = bet;
	}
	
	
	
}
